<template>
  <div style="height: 100%">
    <video
      width="700"
      height="440"
      controls
      controlslist="nodownload"
      oncontexymenu="return false"
    >
      <source :src="props.src" type="video/mp4" />
      <source :src="props.src" type="video/ogg" />
      您的浏览器不支持 video 标签。
    </video>
  </div>
</template>

<script setup>
import { isExternal } from "@/utils/validate";
const props = defineProps({
  src: {
    type: String,
    default: "",
  },
});
// const props = defineProps({
//   src: {
//     type: String,
//     default: ""
//   },
// });
const src = ref(
  "http://47.76.217.195:8080/profile/upload/2025/04/23/movie_20250423114527A006.mp4"
);
</script>

<style lang="scss" scoped>
</style>
